home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990422-19990725 / 000137_news@watsun.cc.columbia.edu _Thu Jun 10 11:25:30 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA03317
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 10 Jun 1999 11:25:29 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id LAA18375
  7.     for kermit.misc@watsun.cc.columbia.edu; Thu, 10 Jun 1999 11:23:56 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Subject: Re: strange telnet problem
  11. Date: 10 Jun 1999 15:23:55 GMT
  12. Organization: Columbia University
  13. Message-ID: <7jolab$hu4$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. In article <3767f805.64707474@news.supernews.com>,
  17. Charles Wilkins <chas@pcscs.com> wrote:
  18. : Sometimes (half the time) when I use vi over telnet (from win95 to
  19. : linux), I can't use my arrow keys to move around in the editor. Other
  20. : times I can. 
  21. : My telnet client and redhat configurations remain the same, yet
  22. : sometimes the arrows work and other times they dont.
  23. : In addition, when the arrows arent working, (when I use j to scroll
  24. : down), the screen buffer doesnt refresh, so what I get is the bottom
  25. : line of text changes and thats it.
  26. :
  27. This is because vi distinguishes the escape sequence sent by an arrow
  28. key (e.g. <ESC>OD) from an Escape typed by you, followed by some other
  29. keys.  It thinks it can tell the difference by the timing between the
  30. characters.  Of course all bets are off on a network connection.
  31.  
  32. However, some Telnet clients are better than others in accommodating this
  33. vi pecularity.  Since the terminal emulator knows you pushed an arrow key,
  34. and knows what escape sequence it must send, it can make sure to send this
  35. sequence in a single TCP write, hopefully ensuring the characters will
  36. arrive together at the Telnet server.  Of course nothing is really assured
  37. since the TCP packet can be fragmented at the IP level and each character
  38. routed separately.  Even if that doesn't happen, you must still rely on the
  39. Telnet server to deliver the characters to the application without pauses,
  40. but it has no way of knowing it's supposed to do that.
  41.  
  42. - Frank